package com.epam.task.xml.classes;

import com.epam.task.xml.enums.PackageType;

/**
 * Created with IntelliJ IDEA.
 * User: zhunusbekova.arailym
 * Date: 12.09.13
 * Time: 11:35
 * To change this template use File | Settings | File Templates.
 */
public class Package {
    private PackageType kind;
    private int count;
    private int price;

    public Package() {

    }

    public Package(PackageType kind, int count, int price) {
        this.kind = kind;
        this.count = count;
        this.price = price;
    }

    public PackageType getKind() {
        return kind;
    }

    public void setKind(PackageType kind) {
        this.kind = kind;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String toString() {
        return "\n\t\tkind: " + kind + "\n\t\tcount: " + count + "\n\t\tprice: " + price;
    }
}
